![]() ![]() ![]() ![]() ![]() Alan numitron clock Clapclap 2313/1386 SNES Pi Webserver USB Volume/USB toys Smokey amp Laser cutter WordClock ardReveil v3 SNES Arcade cabinet Game boy projects cameleon Home Presence Detector ![]() AlanFromJapan ![]() ![]() ![]() Akizukidenshi Elec-lab Rand Nerd Tut EEVblog SpritesMods AvrFreaks Gameboy Dev FLOZz' blog Switch-science Sparkfun Suzusho Datasheet Lib Reddit Elec Ermicro Carnet du maker (fr) |
eagle grid wiring fixerLast update: Thu Jun 5 22:25:40 2025
PresentationPrinciple![]() Because sometimes your grid and parts don't perfectly line up (shoot me, I use the metric system) you end up with trace the should match the airwires, but don't. And there's no real easy way to fix that. So I made a script that works reasonably well. Notice: do make a backup of your .brd before you run the script, in case. Points of interrestLogic is the following: for each wire not already connected to a pad, the program searches for a matching airwire. "Matching" is defined by finding an airwire whose start and end matching distance withing a given margin of error (delta). Once it finds it, it merges both wires by replacing the content of the airwire with the wire segments and removing the airwire data (layer 19).Possible improvements: ImplementationSource codeGitHub as usual https://github.com/AlanFromJapan/alanarduinotools/tree/master/Python/EagleGridWiringFixerPictures![]() Before: a spaghetti plate of yellow airwires ![]() After: 89% matched, much much easier to continue working now :) LinksHelpful sourcesInspiration |
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated) electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2025]) |